<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>pybindgen.typehandlers.base.ForwardWrapperBase</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="pybindgen-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="pybindgen-module.html">Package&nbsp;pybindgen</a> ::
        <a href="pybindgen.typehandlers-module.html">Package&nbsp;typehandlers</a> ::
        <a href="pybindgen.typehandlers.base-module.html">Module&nbsp;base</a> ::
        Class&nbsp;ForwardWrapperBase
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class ForwardWrapperBase</h1><p class="nomargin-top"><span class="codelink"><a href="pybindgen.typehandlers.base-pysrc.html#ForwardWrapperBase">source&nbsp;code</a></span></p>
<center>
<center>  <map id="uml_class_diagram_for_pybindge_76" name="uml_class_diagram_for_pybindge_76">
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#PARSE_TUPLE" title="pybindgen.typehandlers.base.ForwardWrapperBase.PARSE_TUPLE" alt="" coords="1131,28,1915,47"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#PARSE_TUPLE_AND_KEYWORDS" title="pybindgen.typehandlers.base.ForwardWrapperBase.PARSE_TUPLE_AND_KEYWORDS" alt="" coords="1131,47,1915,65"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#HAVE_RETURN_VALUE" title="pybindgen.typehandlers.base.ForwardWrapperBase.HAVE_RETURN_VALUE" alt="" coords="1131,65,1915,84"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#__init__" title="Base constructor" alt="" coords="1131,87,1915,105"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#reset_code_generation_state" title="pybindgen.typehandlers.base.ForwardWrapperBase.reset_code_generation_state" alt="" coords="1131,105,1915,124"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#set_parse_error_return" title="pybindgen.typehandlers.base.ForwardWrapperBase.set_parse_error_return" alt="" coords="1131,124,1915,143"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#generate_call" title="Generates the code (into self.before_call) to call into Python, storing the result in the variable &#39;py_retval&#39;; should also check for call error." alt="" coords="1131,143,1915,161"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#write_open_wrapper" title="pybindgen.typehandlers.base.ForwardWrapperBase.write_open_wrapper" alt="" coords="1131,161,1915,180"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#write_close_wrapper" title="pybindgen.typehandlers.base.ForwardWrapperBase.write_close_wrapper" alt="" coords="1131,180,1915,199"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#generate_body" title="Generate the wrapper function body code_sink &#45;&#45; a CodeSink object that will receive the code" alt="" coords="1131,199,1915,217"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#get_py_method_def_flags" title="Get a list of PyMethodDef flags that should be used for this wrapper." alt="" coords="1131,217,1915,236"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html" title="Generic base for all forward wrapper generators." alt="" coords="1129,11,1916,237"/>
<area shape="rect" href="pybindgen.cppmethod.CppMethod-class.html" title="Class that generates a wrapper to a C++ class method" alt="" coords="468,267,617,293"/>
<area shape="rect" href="pybindgen.cppmethod.CppConstructor-class.html" title="Class that generates a wrapper to a C++ class constructor." alt="" coords="1041,267,1215,293"/>
<area shape="rect" href="pybindgen.function.Function-class.html" title="Class that generates a wrapper to a C function." alt="" coords="1265,267,1377,293"/>
<area shape="rect" href="pybindgen.cppmethod.CppNoConstructor-class.html" title="Class that generates a constructor that raises an exception saying that the class has no constructor." alt="" coords="1428,267,1617,293"/>
<area shape="rect" href="pybindgen.converter_functions.CToPythonConverter-class.html" title="Utility function that converts a C value to a PyObject*." alt="" coords="1668,267,1913,293"/>
<area shape="rect" href="pybindgen.container.IterNextWrapper-class.html" title="tp_iternext wrapper" alt="" coords="1964,267,2129,293"/>
<area shape="rect" href="pybindgen.cppattribute.PyGetter-class.html" title="generates a getter, for use in a PyGetSetDef table" alt="" coords="2180,267,2319,293"/>
<area shape="rect" href="pybindgen.cppmethod.CustomCppMethodWrapper-class.html" title="Adds a custom method wrapper." alt="" coords="16,323,259,349"/>
<area shape="rect" href="pybindgen.cppmethod.CppDummyMethod-class.html" title="A &#39;dummy&#39; method; cannot be generated due to incomple or incorrect parameters, but is added to the class to model the missing method." alt="" coords="309,323,501,349"/>
<area shape="rect" href="pybindgen.cppmethod.CppVirtualMethodParentCaller-class.html" title="Class that generates a wrapper that calls a virtual method default implementation in a parent base class." alt="" coords="552,323,808,349"/>
<area shape="rect" href="pybindgen.cppmethod.CppFunctionAsConstructor-class.html" title="Class that generates a wrapper to a C/C++ function that appears as a contructor." alt="" coords="859,323,1096,349"/>
<area shape="rect" href="pybindgen.cppmethod.CustomCppConstructorWrapper-class.html" title="Adds a custom constructor wrapper." alt="" coords="1147,323,1413,349"/>
<area shape="rect" href="pybindgen.function.CustomFunctionWrapper-class.html" title="Adds a custom function wrapper." alt="" coords="1464,323,1672,349"/>
<area shape="rect" href="pybindgen.cppattribute.CppInstanceAttributeGetter-class.html" title="A getter for a C++ instance attribute." alt="" coords="1985,323,2228,349"/>
<area shape="rect" href="pybindgen.cppattribute.CppStaticAttributeGetter-class.html" title="A getter for a C++ class static attribute." alt="" coords="2279,323,2508,349"/>
</map>
  <img src="uml_class_diagram_for_pybindge_76.gif" alt='' usemap="#uml_class_diagram_for_pybindge_76" ismap="ismap" class="graph-without-title" />
</center>
</center>
<hr />
<p>Generic base for all forward wrapper generators.</p>
  <p>Forward wrappers all have the following general structure in 
  common:</p>
  <ol start="1">
    <li>
      'declarations' -- variable declarations; for compatibility with older
      C compilers it is very important that all declarations come before 
      any simple statement.  Declarations can be added with the 
      add_declaration() method on the 'declarations' attribute.  Two 
      standard declarations are always predeclared: '&lt;return-type&gt; 
      retval', unless return-type is void, and 'PyObject *py_retval';
    </li>
    <li>
      'code before parse' -- code before the PyArg_ParseTupleAndKeywords 
      call; code can be freely added to it by accessing the 'before_parse' 
      (a CodeBlock instance) attribute;
    </li>
    <li>
      A PyArg_ParseTupleAndKeywords call; uses items from the parse_params 
      object;
    </li>
    <li>
      'code before call' -- this is a code block dedicated to contain all 
      code that is needed before calling the C function; code can be freely
      added to it by accessing the 'before_call' (a CodeBlock instance) 
      attribute;
    </li>
    <li>
      'call into C' -- this is realized by a C/C++ call; the list of 
      parameters that should be used is in the 'call_params' wrapper 
      attribute;
    </li>
    <li>
      'code after call' -- this is a code block dedicated to contain all 
      code that must come after calling into Python; code can be freely 
      added to it by accessing the 'after_call' (a CodeBlock instance) 
      attribute;
    </li>
    <li>
      A py_retval = Py_BuildValue(...) call; this call can be customized, 
      so that out/inout parameters can add additional return values, by 
      accessing the 'build_params' (a BuildValueParameters instance) 
      attribute;
    </li>
    <li>
      Cleanup and return.
    </li>
  </ol>
  <p>Object constructors cannot return values, and so the step 7 is to be 
  omitted for them.</p>

<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Instance Methods</span></td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">return_value</span>,
        <span class="summary-sig-arg">parameters</span>,
        <span class="summary-sig-arg">parse_error_return</span>,
        <span class="summary-sig-arg">error_return</span>,
        <span class="summary-sig-arg">force_parse</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">no_c_retval</span>=<span class="summary-sig-default">False</span>,
        <span class="summary-sig-arg">unblock_threads</span>=<span class="summary-sig-default">False</span>)</span><br />
      Base constructor</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.typehandlers.base-pysrc.html#ForwardWrapperBase.__init__">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for___init___57-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for___init___57-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for___init___57" name="call_graph_for___init___57">
<area shape="rect" href="pybindgen.container.IterNextWrapper-class.html#__init__" title="container.IterNextWrapper.__init__()" alt="" coords="73,5,428,37"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#__init__" title="__init__()" alt="" coords="545,201,649,233"/>
<area shape="rect" href="pybindgen.converter_functions.CToPythonConverter-class.html#__init__" title="converter_functions.CToPythonConverter.__init__()" alt="" coords="5,61,496,93"/>
<area shape="rect" href="pybindgen.cppattribute.CppInstanceAttributeGetter-class.html#__init__" title="cppattribute.CppInstanceAttributeGetter.__init__()" alt="" coords="8,117,493,149"/>
<area shape="rect" href="pybindgen.cppattribute.CppStaticAttributeGetter-class.html#__init__" title="cppattribute.CppStaticAttributeGetter.__init__()" alt="" coords="20,173,481,205"/>
<area shape="rect" href="pybindgen.cppmethod.CppConstructor-class.html#__init__" title="cppmethod.CppConstructor.__init__()" alt="" coords="71,229,431,261"/>
<area shape="rect" href="pybindgen.cppmethod.CppMethod-class.html#__init__" title="cppmethod.CppMethod.__init__()" alt="" coords="89,285,412,317"/>
<area shape="rect" href="pybindgen.cppmethod.CppNoConstructor-class.html#__init__" title="cppmethod.CppNoConstructor.__init__()" alt="" coords="59,341,443,373"/>
<area shape="rect" href="pybindgen.function.Function-class.html#__init__" title="function.Function.__init__()" alt="" coords="115,397,387,429"/>
<area shape="rect" href="pybindgen.typehandlers.base.BuildValueParameters-class.html#__init__" title="BuildValueParameters.__init__()" alt="" coords="723,61,1035,93"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#__init__" title="CodeBlock.__init__()" alt="" coords="776,117,981,149"/>
<area shape="rect" href="pybindgen.typehandlers.base.DeclarationsScope-class.html#__init__" title="DeclarationsScope.__init__()" alt="" coords="739,173,1019,205"/>
<area shape="rect" href="pybindgen.typehandlers.base.DeclarationsScope-class.html#declare_variable" title="DeclarationsScope.declare_variable()" alt="" coords="699,229,1059,261"/>
<area shape="rect" href="pybindgen.typehandlers.base.ParseTupleParameters-class.html#__init__" title="ParseTupleParameters.__init__()" alt="" coords="721,285,1036,317"/>
<area shape="rect" href="pybindgen.typehandlers.base.TypeHandler-class.html#_get_ctype_no_const" title="TypeHandler._get_ctype_no_const()" alt="" coords="707,341,1051,373"/>
</map>
  <img src="call_graph_for___init___57.gif" alt='' usemap="#call_graph_for___init___57" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="reset_code_generation_state"></a><span class="summary-sig-name">reset_code_generation_state</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.typehandlers.base-pysrc.html#ForwardWrapperBase.reset_code_generation_state">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_reset_code_gene_3-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_reset_code_gene_3-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_reset_code_gene_3" name="call_graph_for_reset_code_gene_3">
<area shape="rect" href="pybindgen.container.IterNextWrapper-class.html#reset_code_generation_state" title="container.IterNextWrapper.reset_code_generation_state()" alt="" coords="31,89,583,121"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#reset_code_generation_state" title="reset_code_generation_state()" alt="" coords="656,145,957,177"/>
<area shape="rect" href="pybindgen.overloading.OverloadedWrapper-class.html#reset_code_generation_state" title="overloading.OverloadedWrapper.reset_code_generation_state()" alt="" coords="5,145,608,177"/>
<area shape="rect" href="pybindgen.typehandlers.base.BuildValueParameters-class.html#clear" title="BuildValueParameters.clear()" alt="" coords="1041,5,1329,37"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#clear" title="CodeBlock.clear()" alt="" coords="1096,61,1275,93"/>
<area shape="rect" href="pybindgen.typehandlers.base.DeclarationsScope-class.html#clear" title="DeclarationsScope.clear()" alt="" coords="1059,117,1312,149"/>
<area shape="rect" href="pybindgen.typehandlers.base.DeclarationsScope-class.html#declare_variable" title="DeclarationsScope.declare_variable()" alt="" coords="1005,173,1365,205"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#get_py_method_def_flags" title="get_py_method_def_flags()" alt="" coords="173,201,440,233"/>
<area shape="rect" href="pybindgen.typehandlers.base.ParseTupleParameters-class.html#clear" title="ParseTupleParameters.clear()" alt="" coords="1041,229,1329,261"/>
<area shape="rect" href="pybindgen.typehandlers.base.TypeHandler-class.html#_get_ctype_no_const" title="TypeHandler._get_ctype_no_const()" alt="" coords="1013,285,1357,317"/>
</map>
  <img src="call_graph_for_reset_code_gene_3.gif" alt='' usemap="#call_graph_for_reset_code_gene_3" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="set_parse_error_return"></a><span class="summary-sig-name">set_parse_error_return</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">parse_error_return</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.typehandlers.base-pysrc.html#ForwardWrapperBase.set_parse_error_return">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_set_parse_error-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_set_parse_error-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_set_parse_error" name="call_graph_for_set_parse_error">
<area shape="rect" href="pybindgen.overloading.OverloadedWrapper-class.html#generate" title="overloading.OverloadedWrapper.generate()" alt="" coords="7,5,425,37"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#set_parse_error_return" title="set_parse_error_return()" alt="" coords="475,5,723,37"/>
</map>
  <img src="call_graph_for_set_parse_error.gif" alt='' usemap="#call_graph_for_set_parse_error" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="generate_call"></a><span class="summary-sig-name">generate_call</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Generates the code (into self.before_call) to call into Python, 
      storing the result in the variable 'py_retval'; should also check for
      call error.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.typehandlers.base-pysrc.html#ForwardWrapperBase.generate_call">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="write_open_wrapper"></a><span class="summary-sig-name">write_open_wrapper</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">code_sink</span>,
        <span class="summary-sig-arg">add_static</span>=<span class="summary-sig-default">False</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.typehandlers.base-pysrc.html#ForwardWrapperBase.write_open_wrapper">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_write_open_wrap-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_write_open_wrap-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_write_open_wrap" name="call_graph_for_write_open_wrap">
<area shape="rect" href="pybindgen.cppmethod.CppConstructor-class.html#generate" title="cppmethod.CppConstructor.generate()" alt="" coords="19,5,392,37"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#write_open_wrapper" title="write_open_wrapper()" alt="" coords="453,89,680,121"/>
<area shape="rect" href="pybindgen.cppmethod.CppMethod-class.html#generate" title="cppmethod.CppMethod.generate()" alt="" coords="37,61,373,93"/>
<area shape="rect" href="pybindgen.cppmethod.CppNoConstructor-class.html#generate" title="cppmethod.CppNoConstructor.generate()" alt="" coords="7,117,404,149"/>
<area shape="rect" href="pybindgen.function.Function-class.html#generate" title="function.Function.generate()" alt="" coords="64,173,347,205"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.CodeSink-class.html#indent" title="codesink.CodeSink.indent()" alt="" coords="749,33,1021,65"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.FileCodeSink-class.html#writeln" title="codesink.FileCodeSink.writeln()" alt="" coords="731,89,1040,121"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.NullCodeSink-class.html#writeln" title="codesink.NullCodeSink.writeln()" alt="" coords="728,145,1043,177"/>
</map>
  <img src="call_graph_for_write_open_wrap.gif" alt='' usemap="#call_graph_for_write_open_wrap" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="write_close_wrapper"></a><span class="summary-sig-name">write_close_wrapper</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">code_sink</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.typehandlers.base-pysrc.html#ForwardWrapperBase.write_close_wrapper">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_write_close_wra-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_write_close_wra-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_write_close_wra" name="call_graph_for_write_close_wra">
<area shape="rect" href="pybindgen.cppmethod.CppConstructor-class.html#generate" title="cppmethod.CppConstructor.generate()" alt="" coords="19,5,392,37"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#write_close_wrapper" title="write_close_wrapper()" alt="" coords="453,89,680,121"/>
<area shape="rect" href="pybindgen.cppmethod.CppMethod-class.html#generate" title="cppmethod.CppMethod.generate()" alt="" coords="37,61,373,93"/>
<area shape="rect" href="pybindgen.cppmethod.CppNoConstructor-class.html#generate" title="cppmethod.CppNoConstructor.generate()" alt="" coords="7,117,404,149"/>
<area shape="rect" href="pybindgen.function.Function-class.html#generate" title="function.Function.generate()" alt="" coords="64,173,347,205"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.CodeSink-class.html#unindent" title="codesink.CodeSink.unindent()" alt="" coords="737,33,1033,65"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.FileCodeSink-class.html#writeln" title="codesink.FileCodeSink.writeln()" alt="" coords="731,89,1040,121"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.NullCodeSink-class.html#writeln" title="codesink.NullCodeSink.writeln()" alt="" coords="728,145,1043,177"/>
</map>
  <img src="call_graph_for_write_close_wra.gif" alt='' usemap="#call_graph_for_write_close_wra" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="generate_body"></a><span class="summary-sig-name">generate_body</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">code_sink</span>,
        <span class="summary-sig-arg">gen_call_params</span>=<span class="summary-sig-default"><code class="variable-group">(</code><code class="variable-group">)</code></span>)</span><br />
      Generate the wrapper function body code_sink -- a CodeSink object 
      that will receive the code</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.typehandlers.base-pysrc.html#ForwardWrapperBase.generate_body">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_generate_body-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_generate_body-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_generate_body" name="call_graph_for_generate_body">
<area shape="rect" href="pybindgen.container.ContainerParameter-class.html#convert_python_to_c" title="container.ContainerParameter.convert_python_to_c()" alt="" coords="856,24,1365,56"/>
<area shape="rect" href="pybindgen.container.ContainerPtrParameter-class.html#convert_python_to_c" title="container.ContainerPtrParameter.convert_python_to_c()" alt="" coords="841,80,1380,112"/>
<area shape="rect" href="pybindgen.container.ContainerRefParameter-class.html#convert_python_to_c" title="container.ContainerRefParameter.convert_python_to_c()" alt="" coords="841,136,1380,168"/>
<area shape="rect" href="pybindgen.container.ContainerReturnValue-class.html#convert_c_to_python" title="container.ContainerReturnValue.convert_c_to_python()" alt="" coords="845,192,1376,224"/>
<area shape="rect" href="pybindgen.container.IterNextWrapper-class.html#generate" title="container.IterNextWrapper.generate()" alt="" coords="72,1368,440,1400"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#generate_body" title="generate_body()" alt="" coords="556,1536,727,1568"/>
<area shape="rect" href="pybindgen.container.IterNextWrapper-class.html#generate_call" title="container.IterNextWrapper.generate_call()" alt="" coords="907,248,1315,280"/>
<area shape="rect" href="pybindgen.cppattribute.CppInstanceAttributeGetter-class.html#generate" title="cppattribute.CppInstanceAttributeGetter.generate()" alt="" coords="7,1424,505,1456"/>
<area shape="rect" href="pybindgen.cppattribute.CppInstanceAttributeGetter-class.html#generate_call" title="cppattribute.CppInstanceAttributeGetter.generate_call()" alt="" coords="841,304,1380,336"/>
<area shape="rect" href="pybindgen.cppattribute.CppStaticAttributeGetter-class.html#generate" title="cppattribute.CppStaticAttributeGetter.generate()" alt="" coords="19,1480,493,1512"/>
<area shape="rect" href="pybindgen.cppattribute.CppStaticAttributeGetter-class.html#generate_call" title="cppattribute.CppStaticAttributeGetter.generate_call()" alt="" coords="853,360,1368,392"/>
<area shape="rect" href="pybindgen.cppclass_typehandlers.CppClassParameter-class.html#convert_python_to_c" title="cppclass_typehandlers.CppClassParameter.convert_python_to_c()" alt="" coords="801,416,1420,448"/>
<area shape="rect" href="pybindgen.cppclass_typehandlers.CppClassPtrParameter-class.html#convert_python_to_c" title="cppclass_typehandlers.CppClassPtrParameter.convert_python_to_c()" alt="" coords="787,472,1435,504"/>
<area shape="rect" href="pybindgen.cppclass_typehandlers.CppClassPtrReturnValue-class.html#convert_c_to_python" title="cppclass_typehandlers.CppClassPtrReturnValue.convert_c_to_python()" alt="" coords="777,528,1444,560"/>
<area shape="rect" href="pybindgen.cppclass_typehandlers.CppClassRefParameter-class.html#convert_python_to_c" title="cppclass_typehandlers.CppClassRefParameter.convert_python_to_c()" alt="" coords="787,584,1435,616"/>
<area shape="rect" href="pybindgen.cppclass_typehandlers.CppClassReturnValue-class.html#convert_c_to_python" title="cppclass_typehandlers.CppClassReturnValue.convert_c_to_python()" alt="" coords="791,640,1431,672"/>
<area shape="rect" href="pybindgen.cppmethod.CppConstructor-class.html#_before_return_hook" title="cppmethod.CppConstructor._before_return_hook()" alt="" coords="869,696,1352,728"/>
<area shape="rect" href="pybindgen.cppmethod.CppConstructor-class.html#generate" title="cppmethod.CppConstructor.generate()" alt="" coords="69,1536,443,1568"/>
<area shape="rect" href="pybindgen.cppmethod.CppConstructor-class.html#generate_call" title="cppmethod.CppConstructor.generate_call()" alt="" coords="904,752,1317,784"/>
<area shape="rect" href="pybindgen.cppmethod.CppFunctionAsConstructor-class.html#generate_call" title="cppmethod.CppFunctionAsConstructor.generate_call()" alt="" coords="853,808,1368,840"/>
<area shape="rect" href="pybindgen.cppmethod.CppMethod-class.html#_before_return_hook" title="cppmethod.CppMethod._before_return_hook()" alt="" coords="889,864,1332,896"/>
<area shape="rect" href="pybindgen.cppmethod.CppMethod-class.html#generate" title="cppmethod.CppMethod.generate()" alt="" coords="88,1592,424,1624"/>
<area shape="rect" href="pybindgen.cppmethod.CppMethod-class.html#generate_call" title="cppmethod.CppMethod.generate_call()" alt="" coords="923,920,1299,952"/>
<area shape="rect" href="pybindgen.cppmethod.CppVirtualMethodParentCaller-class.html#generate_call" title="cppmethod.CppVirtualMethodParentCaller.generate_call()" alt="" coords="836,976,1385,1008"/>
<area shape="rect" href="pybindgen.function.CustomFunctionWrapper-class.html#generate_call" title="function.CustomFunctionWrapper.generate_call()" alt="" coords="875,1032,1347,1064"/>
<area shape="rect" href="pybindgen.function.Function-class.html#_before_return_hook" title="function.Function._before_return_hook()" alt="" coords="915,1088,1307,1120"/>
<area shape="rect" href="pybindgen.function.Function-class.html#generate" title="function.Function.generate()" alt="" coords="115,1648,397,1680"/>
<area shape="rect" href="pybindgen.function.Function-class.html#generate_call" title="function.Function.generate_call()" alt="" coords="949,1144,1272,1176"/>
<area shape="rect" href="pybindgen.typehandlers.base.BuildValueParameters-class.html#get_parameters" title="BuildValueParameters.get_parameters()" alt="" coords="917,1200,1304,1232"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#write_cleanup" title="CodeBlock.write_cleanup()" alt="" coords="977,1256,1244,1288"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#write_code" title="CodeBlock.write_code()" alt="" coords="992,1312,1229,1344"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#write_error_check" title="CodeBlock.write_error_check()" alt="" coords="959,1368,1263,1400"/>
<area shape="rect" href="pybindgen.typehandlers.base.DeclarationsScope-class.html#declare_variable" title="DeclarationsScope.declare_variable()" alt="" coords="931,1424,1291,1456"/>
<area shape="rect" href="pybindgen.typehandlers.base.DeclarationsScope-class.html#get_code_sink" title="DeclarationsScope.get_code_sink()" alt="" coords="941,1480,1280,1512"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#_before_return_hook" title="_before_return_hook()" alt="" coords="997,1536,1224,1568"/>
<area shape="rect" href="pybindgen.typehandlers.base.ParseTupleParameters-class.html#get_keywords" title="ParseTupleParameters.get_keywords()" alt="" coords="925,1592,1296,1624"/>
<area shape="rect" href="pybindgen.typehandlers.base.ParseTupleParameters-class.html#get_parameters" title="ParseTupleParameters.get_parameters()" alt="" coords="916,1648,1305,1680"/>
<area shape="rect" href="pybindgen.typehandlers.booltype.BoolReturn-class.html#convert_c_to_python" title="booltype.BoolReturn.convert_c_to_python()" alt="" coords="900,1704,1321,1736"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.MemoryCodeSink-class.html#flush_to" title="codesink.MemoryCodeSink.flush_to()" alt="" coords="931,1760,1291,1792"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.MemoryCodeSink-class.html#writeln" title="codesink.MemoryCodeSink.writeln()" alt="" coords="935,1816,1287,1848"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.NullCodeSink-class.html#writeln" title="codesink.NullCodeSink.writeln()" alt="" coords="953,1872,1268,1904"/>
<area shape="rect" href="pybindgen.typehandlers.doubletype.DoubleParam-class.html#convert_python_to_c" title="doubletype.DoubleParam.convert_python_to_c()" alt="" coords="879,1928,1343,1960"/>
<area shape="rect" href="pybindgen.typehandlers.doubletype.DoubleReturn-class.html#convert_c_to_python" title="doubletype.DoubleReturn.convert_c_to_python()" alt="" coords="876,1984,1345,2016"/>
<area shape="rect" href="pybindgen.typehandlers.floattype.FloatPtrParam-class.html#convert_python_to_c" title="floattype.FloatPtrParam.convert_python_to_c()" alt="" coords="883,2040,1339,2072"/>
<area shape="rect" href="pybindgen.typehandlers.floattype.FloatReturn-class.html#convert_c_to_python" title="floattype.FloatReturn.convert_c_to_python()" alt="" coords="895,2096,1327,2128"/>
<area shape="rect" href="pybindgen.typehandlers.inttype.IntParam-class.html#convert_python_to_c" title="inttype.IntParam.convert_python_to_c()" alt="" coords="916,2152,1305,2184"/>
<area shape="rect" href="pybindgen.typehandlers.inttype.IntRefParam-class.html#convert_python_to_c" title="inttype.IntRefParam.convert_python_to_c()" alt="" coords="901,2208,1320,2240"/>
<area shape="rect" href="pybindgen.typehandlers.inttype.IntReturn-class.html#convert_c_to_python" title="inttype.IntReturn.convert_c_to_python()" alt="" coords="913,2264,1308,2296"/>
<area shape="rect" href="pybindgen.typehandlers.inttype.SizeTParam-class.html#convert_python_to_c" title="inttype.SizeTParam.convert_python_to_c()" alt="" coords="903,2320,1319,2352"/>
<area shape="rect" href="pybindgen.typehandlers.inttype.SizeTReturn-class.html#convert_c_to_python" title="inttype.SizeTReturn.convert_c_to_python()" alt="" coords="901,2376,1320,2408"/>
<area shape="rect" href="pybindgen.typehandlers.inttype.UInt16Return-class.html#convert_c_to_python" title="inttype.UInt16Return.convert_c_to_python()" alt="" coords="895,2432,1327,2464"/>
<area shape="rect" href="pybindgen.typehandlers.inttype.UInt8Return-class.html#convert_c_to_python" title="inttype.UInt8Return.convert_c_to_python()" alt="" coords="900,2488,1321,2520"/>
<area shape="rect" href="pybindgen.typehandlers.inttype.UnsignedIntParam-class.html#convert_python_to_c" title="inttype.UnsignedIntParam.convert_python_to_c()" alt="" coords="873,2544,1348,2576"/>
<area shape="rect" href="pybindgen.typehandlers.inttype.UnsignedIntReturn-class.html#convert_c_to_python" title="inttype.UnsignedIntReturn.convert_c_to_python()" alt="" coords="871,2600,1351,2632"/>
<area shape="rect" href="pybindgen.typehandlers.pyobjecttype.PyObjectParam-class.html#convert_python_to_c" title="pyobjecttype.PyObjectParam.convert_python_to_c()" alt="" coords="861,2656,1360,2688"/>
<area shape="rect" href="pybindgen.typehandlers.pyobjecttype.PyObjectReturnValue-class.html#convert_c_to_python" title="pyobjecttype.PyObjectReturnValue.convert_c_to_python()" alt="" coords="833,2712,1388,2744"/>
<area shape="rect" href="pybindgen.typehandlers.stringtype.CStringParam-class.html#convert_python_to_c" title="stringtype.CStringParam.convert_python_to_c()" alt="" coords="880,2768,1341,2800"/>
<area shape="rect" href="pybindgen.typehandlers.stringtype.CStringReturn-class.html#convert_c_to_python" title="stringtype.CStringReturn.convert_c_to_python()" alt="" coords="877,2824,1344,2856"/>
<area shape="rect" href="pybindgen.typehandlers.stringtype.StdStringParam-class.html#convert_python_to_c" title="stringtype.StdStringParam.convert_python_to_c()" alt="" coords="871,2880,1351,2912"/>
<area shape="rect" href="pybindgen.typehandlers.stringtype.StdStringRefParam-class.html#convert_python_to_c" title="stringtype.StdStringRefParam.convert_python_to_c()" alt="" coords="857,2936,1364,2968"/>
<area shape="rect" href="pybindgen.typehandlers.stringtype.StdStringReturn-class.html#convert_c_to_python" title="stringtype.StdStringReturn.convert_c_to_python()" alt="" coords="869,2992,1352,3024"/>
<area shape="rect" href="pybindgen.typehandlers.voidtype.VoidReturn-class.html#convert_c_to_python" title="voidtype.VoidReturn.convert_c_to_python()" alt="" coords="900,3048,1321,3080"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#get_py_method_def_flags" title="get_py_method_def_flags()" alt="" coords="123,1704,389,1736"/>
</map>
  <img src="call_graph_for_generate_body.gif" alt='' usemap="#call_graph_for_generate_body" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="get_py_method_def_flags"></a><span class="summary-sig-name">get_py_method_def_flags</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Get a list of PyMethodDef flags that should be used for this wrapper.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.typehandlers.base-pysrc.html#ForwardWrapperBase.get_py_method_def_flags">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_get_py_method_d_6-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_get_py_method_d_6-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_get_py_method_d_6" name="call_graph_for_get_py_method_d_6">
<area shape="rect" href="pybindgen.cppmethod.CppMethod-class.html#get_py_method_def_flags" title="cppmethod.CppMethod.get_py_method_def_flags()" alt="" coords="21,5,507,37"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#get_py_method_def_flags" title="get_py_method_def_flags()" alt="" coords="572,145,839,177"/>
<area shape="rect" href="pybindgen.function.Function-class.html#generate" title="function.Function.generate()" alt="" coords="123,61,405,93"/>
<area shape="rect" href="pybindgen.function.Function-class.html#get_py_method_def" title="function.Function.get_py_method_def()" alt="" coords="73,117,455,149"/>
<area shape="rect" href="pybindgen.overloading.OverloadedWrapper-class.html#generate" title="overloading.OverloadedWrapper.generate()" alt="" coords="55,173,473,205"/>
<area shape="rect" href="pybindgen.overloading.OverloadedWrapper-class.html#get_py_method_def" title="overloading.OverloadedWrapper.get_py_method_def()" alt="" coords="7,229,521,261"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#generate_body" title="generate_body()" alt="" coords="963,89,1133,121"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#reset_code_generation_state" title="reset_code_generation_state()" alt="" coords="897,145,1199,177"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.NullCodeSink-class.html#__init__" title="codesink.NullCodeSink.__init__()" alt="" coords="889,201,1207,233"/>
<area shape="rect" href="pybindgen.utils-module.html#call_with_error_handling" title="utils.call_with_error_handling()" alt="" coords="111,285,417,317"/>
</map>
  <img src="call_graph_for_get_py_method_d_6.gif" alt='' usemap="#call_graph_for_get_py_method_d_6" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__delattr__</code>,
      <code>__format__</code>,
      <code>__getattribute__</code>,
      <code>__hash__</code>,
      <code>__new__</code>,
      <code>__reduce__</code>,
      <code>__reduce_ex__</code>,
      <code>__repr__</code>,
      <code>__setattr__</code>,
      <code>__sizeof__</code>,
      <code>__str__</code>,
      <code>__subclasshook__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== CLASS VARIABLES ==================== -->
<a name="section-ClassVariables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Class Variables</span></td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="PARSE_TUPLE"></a><span class="summary-name">PARSE_TUPLE</span> = <code title="1">1</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="PARSE_TUPLE_AND_KEYWORDS"></a><span class="summary-name">PARSE_TUPLE_AND_KEYWORDS</span> = <code title="2">2</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="HAVE_RETURN_VALUE"></a><span class="summary-name">HAVE_RETURN_VALUE</span> = <code title="False">False</code>
    </td>
  </tr>
</table>
<!-- ==================== PROPERTIES ==================== -->
<a name="section-Properties"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Properties</span></td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__class__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Method Details</span></td>
</tr>
</table>
<a name="__init__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">return_value</span>,
        <span class="sig-arg">parameters</span>,
        <span class="sig-arg">parse_error_return</span>,
        <span class="sig-arg">error_return</span>,
        <span class="sig-arg">force_parse</span>=<span class="sig-default">None</span>,
        <span class="sig-arg">no_c_retval</span>=<span class="sig-default">False</span>,
        <span class="sig-arg">unblock_threads</span>=<span class="sig-default">False</span>)</span>
    <br /><em class="fname">(Constructor)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.typehandlers.base-pysrc.html#ForwardWrapperBase.__init__">source&nbsp;code</a></span>&nbsp;
    <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for___init___57-div');return false;">call&nbsp;graph</a></span>&nbsp;</td>
  </tr></table>
  <div style="display:none" id="call_graph_for___init___57-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for___init___57" name="call_graph_for___init___57">
<area shape="rect" href="pybindgen.container.IterNextWrapper-class.html#__init__" title="container.IterNextWrapper.__init__()" alt="" coords="73,5,428,37"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#__init__" title="__init__()" alt="" coords="545,201,649,233"/>
<area shape="rect" href="pybindgen.converter_functions.CToPythonConverter-class.html#__init__" title="converter_functions.CToPythonConverter.__init__()" alt="" coords="5,61,496,93"/>
<area shape="rect" href="pybindgen.cppattribute.CppInstanceAttributeGetter-class.html#__init__" title="cppattribute.CppInstanceAttributeGetter.__init__()" alt="" coords="8,117,493,149"/>
<area shape="rect" href="pybindgen.cppattribute.CppStaticAttributeGetter-class.html#__init__" title="cppattribute.CppStaticAttributeGetter.__init__()" alt="" coords="20,173,481,205"/>
<area shape="rect" href="pybindgen.cppmethod.CppConstructor-class.html#__init__" title="cppmethod.CppConstructor.__init__()" alt="" coords="71,229,431,261"/>
<area shape="rect" href="pybindgen.cppmethod.CppMethod-class.html#__init__" title="cppmethod.CppMethod.__init__()" alt="" coords="89,285,412,317"/>
<area shape="rect" href="pybindgen.cppmethod.CppNoConstructor-class.html#__init__" title="cppmethod.CppNoConstructor.__init__()" alt="" coords="59,341,443,373"/>
<area shape="rect" href="pybindgen.function.Function-class.html#__init__" title="function.Function.__init__()" alt="" coords="115,397,387,429"/>
<area shape="rect" href="pybindgen.typehandlers.base.BuildValueParameters-class.html#__init__" title="BuildValueParameters.__init__()" alt="" coords="723,61,1035,93"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#__init__" title="CodeBlock.__init__()" alt="" coords="776,117,981,149"/>
<area shape="rect" href="pybindgen.typehandlers.base.DeclarationsScope-class.html#__init__" title="DeclarationsScope.__init__()" alt="" coords="739,173,1019,205"/>
<area shape="rect" href="pybindgen.typehandlers.base.DeclarationsScope-class.html#declare_variable" title="DeclarationsScope.declare_variable()" alt="" coords="699,229,1059,261"/>
<area shape="rect" href="pybindgen.typehandlers.base.ParseTupleParameters-class.html#__init__" title="ParseTupleParameters.__init__()" alt="" coords="721,285,1036,317"/>
<area shape="rect" href="pybindgen.typehandlers.base.TypeHandler-class.html#_get_ctype_no_const" title="TypeHandler._get_ctype_no_const()" alt="" coords="707,341,1051,373"/>
</map>
  <img src="call_graph_for___init___57.gif" alt='' usemap="#call_graph_for___init___57" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

  <p>Base constructor</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>return_value</code></strong> - type handler for the return value</li>
        <li><strong class="pname"><code>parameters</code></strong> - a list of type handlers for the parameters</li>
        <li><strong class="pname"><code>parse_error_return</code></strong> - statement to return an error during parameter parsing</li>
        <li><strong class="pname"><code>error_return</code></strong> - statement to return an error after parameter parsing</li>
        <li><strong class="pname"><code>force_parse</code></strong> - force generation of code to parse parameters even if there are 
          none</li>
        <li><strong class="pname"><code>no_c_retval</code></strong> - force the wrapper to not have a C return value</li>
        <li><strong class="pname"><code>unblock_threads</code></strong> - generate code to unblock python threads during the C function 
          call</li>
    </ul></dd>
    <dt>Overrides:
        object.__init__
    </dt>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="pybindgen-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Sun Jul 12 17:23:29 2009
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
